package com.milkyTea.Util;

public class Result {
	private boolean success;
    private int code;
    private String msg;
    private int count;
    private Object data;
    public Result( int code, String msg, int count, Object data) {
    	
	
		this.code = code;
		this.msg = msg;
		this.count = count;
		this.data = data;
	}
	public Result(boolean success, int code, String msg, int count, Object data) {
	
		this.success = success;
		this.code = code;
		this.msg = msg;
		this.count = count;
		this.data = data;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
	
    
}
